<html>
<head><meta charset="utf-8"><title>blog post for public testing period · edition 2021 · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/index.html">edition 2021</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html">blog post for public testing period</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="244168773"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244168773" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244168773">(Jun 28 2021 at 16:14)</a>:</h4>
<p>I wrote up a quick draft of a blog post annoncing public testing period:</p>
<p><a href="https://hackmd.io/GVVWs_I-RQ-_szPdcv0kCQ">https://hackmd.io/GVVWs_I-RQ-_szPdcv0kCQ</a></p>
<p>I will open it up in the blog PR in a bit, wanted to give folks a chance to give some feedback.</p>



<a name="244169290"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244169290" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244169290">(Jun 28 2021 at 16:17)</a>:</h4>
<p>You should say in the blog post how to turn on the new edition. I know you're linking to the guide on how to do it, but if I have to click a link to read a blog post and then i have to click a <em>second</em> link to read a manual... you've already lost my interest, and now your tester base is 1/3rd what it could be.</p>



<a name="244169403"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244169403" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244169403">(Jun 28 2021 at 16:18)</a>:</h4>
<p>eg: if the answer is, "when using nightly, just change your crate's <code>edition = "2018"</code> to say <code>edition = "2021"</code> instead" then just say that.</p>



<a name="244169412"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244169412" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244169412">(Jun 28 2021 at 16:18)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> I would give explicit instructions in addition to linking to the edition guide. The guide is written for 2015-&gt;2018, and misses a crucial step (setting <code>cargo-features</code>).  The instructions are fairly simple:</p>
<ol>
<li>Install the most recent nightly: <code>rustup update nightly</code></li>
<li>Run <code>cargo +nightly fix --edition</code></li>
<li>Edit <code>Cargo.toml</code> and place <code>cargo-features = ["edition2021"]</code> at the very top, and change the edition field to say <code>edition = "2021"</code></li>
<li>Run <code>cargo +nightly check</code> to verify it now works in the new edition</li>
</ol>



<a name="244169465"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244169465" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244169465">(Jun 28 2021 at 16:19)</a>:</h4>
<p>OK, I think giving the instructions in simple form and linking for details is good</p>



<a name="244170062"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244170062" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> jam1garner <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244170062">(Jun 28 2021 at 16:24)</a>:</h4>
<p>to add to that, I think you should specify that it goes above <code>[package]</code> (iirc)</p>



<a name="244173108"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244173108" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244173108">(Jun 28 2021 at 16:49)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span>  "Rust 1.55, which will be released on December 2nd, 2021"  1.55 releases on September 9th.  1.57 is Dec 2.</p>



<a name="244178187"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244178187" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244178187">(Jun 28 2021 at 17:26)</a>:</h4>
<p>Oh, ok. The output from forge is confusing</p>



<a name="244178270"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244178270" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244178270">(Jun 28 2021 at 17:26)</a>:</h4>
<p>PS, <span class="user-mention" data-user-id="322737">@jam1garner</span> or <span class="user-mention" data-user-id="120518">@Eric Huss</span>, feel free to edit if you like</p>



<a name="244178792"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244178792" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244178792">(Jun 28 2021 at 17:30)</a>:</h4>
<p>I am thinking <span class="user-mention" data-user-id="120518">@Eric Huss</span> that we should include these directions in the Edition Guide as well -- they are slightly different</p>



<a name="244178806"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244178806" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244178806">(Jun 28 2021 at 17:30)</a>:</h4>
<p>i.e., a section for like "testing the in-progress edition"</p>



<a name="244179522"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244179522" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> jam1garner <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244179522">(Jun 28 2021 at 17:35)</a>:</h4>
<blockquote>
<p>The public testing period will run until July.</p>
</blockquote>
<p>Should this be "through July" or "starting in July"? I'm not sure this phrasing makes sense if the post is being published on the 5th of July</p>



<a name="244179551"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244179551" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> jam1garner <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244179551">(Jun 28 2021 at 17:35)</a>:</h4>
<p>I'd correct it myself, but I'm not actually sure what the intended meaning is</p>



<a name="244181432"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244181432" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244181432">(Jun 28 2021 at 17:50)</a>:</h4>
<p>Adding directions to the guide sounds good!  I would probably just them to <a href="https://doc.rust-lang.org/nightly/edition-guide/rust-2021/index.html">https://doc.rust-lang.org/nightly/edition-guide/rust-2021/index.html</a>, and then when stabilizing, rewrite <a href="https://doc.rust-lang.org/nightly/edition-guide/editions/transitioning-an-existing-project-to-a-new-edition.html">https://doc.rust-lang.org/nightly/edition-guide/editions/transitioning-an-existing-project-to-a-new-edition.html</a> to be a little more edition-agnostic.</p>



<a name="244192095"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244192095" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244192095">(Jun 28 2021 at 19:16)</a>:</h4>
<p><span class="user-mention silent" data-user-id="322737">jam1garner</span> <a href="#narrow/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period/near/244179522">said</a>:</p>
<blockquote>
<blockquote>
<p>The public testing period will run until July.</p>
</blockquote>
<p>Should this be "through July" or "starting in July"? I'm not sure this phrasing makes sense if the post is being published on the 5th of July</p>
</blockquote>
<p>good point! I think I meant "end of July"</p>



<a name="244192162"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244192162" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244192162">(Jun 28 2021 at 19:16)</a>:</h4>
<p>though of course if people file bugs after that, we'll still fix, so it's a bit artificial</p>



<a name="244193214"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244193214" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244193214">(Jun 28 2021 at 19:26)</a>:</h4>
<p>we'll just add some code that gives a hard error when trying to use the edition after the end of july</p>



<a name="244193253"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244193253" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244193253">(Jun 28 2021 at 19:26)</a>:</h4>
<p>"testing is <em>done</em>. no more testing! no more bugs!"</p>



<a name="244196448"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244196448" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bstrie <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244196448">(Jun 28 2021 at 19:56)</a>:</h4>
<p>instead of a hard error, make it produce an executable that does nothing except print a dancing ferris to stdout</p>



<a name="244225399"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244225399" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244225399">(Jun 29 2021 at 02:05)</a>:</h4>
<p><strong>FERRIS WANTS YOU</strong> to stop using 2021, this is not the edition you're looking for</p>



<a name="244257856"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/244257856" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#244257856">(Jun 29 2021 at 10:04)</a>:</h4>
<p>Blog post looks great! <span aria-label="dancer" class="emoji emoji-1f483" role="img" title="dancer">:dancer:</span></p>



<a name="245222321"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/245222321" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#245222321">(Jul 07 2021 at 18:26)</a>:</h4>
<p>Opened <a href="https://github.com/rust-lang/blog.rust-lang.org/pull/866">https://github.com/rust-lang/blog.rust-lang.org/pull/866</a></p>



<a name="246759299"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/246759299" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#246759299">(Jul 21 2021 at 18:25)</a>:</h4>
<p>Hey <span class="user-mention" data-user-id="116122">@simulacrum</span> -- I think we were ready to post blog post today? I do still have to rename the file though, unless that was already done. I'm hopelessly behind on GH notifications right now.</p>



<a name="246759476"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/246759476" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#246759476">(Jul 21 2021 at 18:26)</a>:</h4>
<p>done</p>



<a name="246759712"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/246759712" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#246759712">(Jul 21 2021 at 18:28)</a>:</h4>
<p><a href="https://github.com/rust-lang/blog.rust-lang.org/pull/866#issuecomment-884401042">https://github.com/rust-lang/blog.rust-lang.org/pull/866#issuecomment-884401042</a></p>



<a name="246763289"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/246763289" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#246763289">(Jul 21 2021 at 18:56)</a>:</h4>
<p>oh yes</p>



<a name="246763297"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/246763297" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#246763297">(Jul 21 2021 at 18:57)</a>:</h4>
<p>we got all the docs done I guess?</p>



<a name="246763413"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/246763413" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#246763413">(Jul 21 2021 at 18:58)</a>:</h4>
<p>merging...</p>



<a name="246764270"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/blog%20post%20for%20public%20testing%20period/near/246764270" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/blog.20post.20for.20public.20testing.20period.html#246764270">(Jul 21 2021 at 19:04)</a>:</h4>
<p>thanks!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>